package com.media_server.service;

import com.media_server.pojo.MediaDetail;

import java.io.File;
import java.util.List;

public interface MediaService {

    MediaDetail upload(String path);

    MediaDetail upload(File file);

    MediaDetail multipartUpload(String path);

    MediaDetail multipartUpload(File file);

    void save(String bucket, String objectName, String path);

    void delete(String bucket, String objectName);

    void delete(String bucket, List<String> objectNames);


}
